package com.boby.homecamera.net.data

open  class ApiResult<T>(var data: T?, var code: Int, var msg: String?){
    fun isResultSuccess() = code == 0
    override fun toString(): String {
        return "ApiResult(data=$data, code=$code, msg=$msg)"
    }
}